Mollie\WooCommerce\Payment\MollieOrder D

Total Complexity 145
Dependencies 14
Dependents 2
Total lines 1,215
Lines of code 766
Logical lines of code 342
Comment lines 220
Methods 29
Properties 8

Methods 29

Method Rating Maintainability Complexity Lines of code
getPaymentRequestData()
A
37 14 74
processOrderItemsRefund()
A
36 11 90
createBillingAddress()
A
42 11 59
refund()
A
41 11 56
createShippingAddress()
A
43 10 57
refund_amount()
A
43 8 48
refund_order_items()
A
45 8 41
onWebhookCanceled()
A
47 7 37
checkBillieCompanyField()
S
56 6 18
getCustomerBirthdate()
S
57 6 16
onWebhookCompleted()
S
49 5 29
onWebhookPaid()
S
47 4 39
onWebhookExpired()
S
48 4 33
maybeUpdateStatus()
S
54 4 21
maximalFieldLengths()
S
63 5 10
onWebhookAuthorized()
S
55 3 19
getMollieCustomerIbanDetailsFromPaymentObject()
S
59 3 14
getPaymentObject()
S
60 3 11
getPhoneNumber()
S
67 3 7
getFormatedPhoneNumber()
S
68 3 7
getSequenceTypeFromPaymentObject()
S
66 3 9
getMollieCustomerIdFromPaymentObject()
S
66 3 9
onWebhookFailed()
S
57 1 17
updatePaymentDataWithOrderData()
S
67 2 8
billingCompanyField()
S
66 2 9
getMolliePaymentIdFromPaymentObject()
S
70 2 6
addSequenceTypeFirst()
S
76 1 4
setActiveMolliePayment()
S
67 1 8
__construct()
S
64 1 10